package com.whcoding.more.datasource.mybatis.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * @author Manager
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
//链式写法
@Accessors(chain = true)
@ToString
@TableName("orm_dept")
public class OrmDeptVO implements Serializable {
	/**
	 * 主键
	 */
	@TableId(type = IdType.ID_WORKER)
	private Long id;
	private Integer deptId;
	private String deptNo;
	private Integer deptType;
	private String deptName;
	private Date createTime;
	private Date updateTime;
	private transient BigDecimal deptPerf;
	private Integer isValidFlag;
	private String shortName;
	private String remark;
}
